package com.jy.service.vehicle;

import com.jy.mapper.vehicle.BrandMapper;
import com.jy.model.vehicle.M_Brand;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandService {

    private final BrandMapper brandDao;


    public BrandService(BrandMapper brandDao) {
        this.brandDao = brandDao;
    }

    public List<M_Brand> queryAllBrand(){
        return brandDao.queryAllBrand();
    }


}

